[paket]
tanim   = KWin, DDE üzerinde yapılandırır
paketci = Cihan_Alkan
url     = https://github.com/linuxdeepin/dde-kwin

[gerek]
derleme    = 
calisma    =

[kaynak]
gz        = https://github.com/linuxdeepin/dde-kwin/archive/$surum
1 = https://github.com/linuxdeepin/dde-kwin/pull/106.patch
2 = https://github.com/linuxdeepin/dde-kwin/pull/138.patch
3= https://github.com/archlinux/svntogit-community/raw/packages/deepin-kwin/trunk/deepin-kwin-added-functions-from-their-forked-kwin.patch
4= https://github.com/archlinux/svntogit-community/raw/packages/deepin-kwin/trunk/deepin-kwin-crash.patch

[sha256]
            #          = 1ccfee598aef723e8815c7a2b782624c0d5f6c4d15194dbeb74f5e45b8aff898

[derle]
betik = cd dde-kwin-$surum
betik = sed -i 's|/usr/share/backgrounds/default_background.jpg|/usr/share/backgrounds/aylinux/arkaplan.png|' plugins/kwineffects/multitasking/background.cpp
betik = patch -R -p1 -i /sources/deepin-kwin-crash.patch
betik = patch -p1 -i /sources/106.patch
betik = patch -p1 -i /sources/deepin-kwin-added-functions-from-their-forked-kwin.patch
betik = patch -p1 -i /sources/138.patch
betik = cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DKWIN_VERSION=5.21.4
betik = ninja

[pakur]
betik = cd dde-kwin-$surum
betik = DESTDIR="$PKG" ninja install
betik = chmod +x "$PKG"/usr/bin/kwin_no_scale
